package com.appcloner.data.model

import android.graphics.drawable.Drawable

data class InstalledApp(
    val name: String,
    val packageName: String,
    val versionName: String,
    val versionCode: Int,
    val icon: Drawable? = null,
    val isSystemApp: Boolean = false
)

data class CardVerificationRequest(
    val cardKey: String,
    val deviceId: String
)

data class CardVerificationResponse(
    val isValid: Boolean,
    val expiresAt: Long,
    val permissionLevel: Int,
    val message: String
)

data class CloneRequest(
    val packageName: String,
    val cloneName: String,
    val userId: Int = 0
)

data class CloneResponse(
    val success: Boolean,
    val clonePackageName: String,
    val errorMessage: String? = null
)
